<template>
    <div class="registered">
        <header>
            <router-link to="/">已有账号？|返回首页</router-link>
        </header>
        <div class="content">‘
            <!-- 内容简介 -->
            <div class="content-tltle">
                <p>已有120021名志愿者参与了我们的行动</p>
                <p>快快加入我们吧!</p>
            </div>
            <!-- 注册人信息待定区 -->
            <div class="content-con">
                <div class="content-con-left" @click="unity">
                    <span>我想成为志愿者</span>
                    <i class="iconfont icon-weixiao1"></i>
                    <a href="JavaScript:;">个人注册</a>
                </div>
                <div class="content-con-right" @click="org"> 
                    <span>我想成为组织者</span>
                    <i class="iconfont icon-zuzhiguanli"></i>
                    <a href="JavaScript:;">组织注册</a>
                </div>
            </div>
        </div>
        <el-footer></el-footer>
    </div>
</template>

<script>
import Footer from '../components/Footer.vue'
export default {
    name:"Registered",
    components:{
        'el-footer':Footer
    },
    methods:{
        /**
         * 个体用户注册
         */
        unity(){
           this.$router.push({path:'/unity'})
        },
        /**
         * 组织注册
         */
        org(){
            this.$router.push({path:'/org'})
        }
    }
}
</script>

<style scoped>
    .registered{
        width: 1247px;
        /* height: 100%; */
        /* background-color: pink; */
        margin:  0 auto;
    }
    header{
        width: 100%;
        margin-top: 20px;
        height: 40px;
        line-height: 40px;
        text-align: right;        
        /* background-color: pink; */
    }
    header a{
        color:#000;
        font-size:12px;
    }
    .content{
        width: 100%;
        height: 600px;
        /* background-color: pink; */
    }
    .content-tltle{
        width: 100%;
        height: 60px;
        text-align: center;
        line-height: 30px;
        
        /* background-color: skyblue; */
    }
     .content-tltle p{
         /* height:30px; */
         font-size: 14px;
     }
     .content-con{
         width: 100%;
         height: 540px;
         display: flex;
         justify-content: space-around;
            align-items: center;
         border-radius: 10px;
         box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
         background-color:#fff;
     }
     .content-con-left{
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
         width: 200px;
         height: 200px;
         border-radius: 50%;
         cursor: pointer;
         /* background-color: pink; */
         border: 4px solid orange;
     }
     .content-con-left>i{
         font-size: 70px;
         color: orange;
     }
     .content-con-left>a{
         color: orange;
     }
     .content-con-right{
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         width: 200px;
          font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
         height: 200px;
         cursor: pointer;
         border-radius: 50%;
         /* background-color: pink; */
         border: 4px solid red;
     }
      .content-con-right>i{
         font-size: 70px;
         color: red;
     }
      .content-con-right>a{
         color: red;
     }
</style>